package com.industry.system.dal.db;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AuthBizMapper {
    /**
     * @description: 根据用户ID查询权限
     * @author: jsy
     * @time: 2025/1/8 14:44
     */
    List<String> getMenuPermission(Long userId);

    /**
     * @description: 根据用户ID查询角色
     * @author: jsy
     * @time: 2025/1/8 14:44
     */
    List<String> getRoleList(Long userId);

   /**
    * @description: 测试分页
    * @author: jsy
    * @time: 2025/1/11 19:59
    */
   IPage<Integer> getMenuPermissionPage(IPage<Integer> page,@Param("userId") Long userId);
}
